From: Matthias Clasen Date: Fri, 15 Jul 2022 14:24:41 +0000 (-0400) Subject: Drop an unused function X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~60^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7ebc5454f4d31e01e2a34c4fbbcaa4d21b9edbc9;p=gtk4.git Drop an unused function --- diff --git a/gsk/gskprivate.c b/gsk/gskprivate.c index d9e1c3e30f..8404b9dbc6 100644 --- a/gsk/gskprivate.c +++ b/gsk/gskprivate.c @@ -15,23 +15,3 @@ gsk_ensure_resources (void) g_once (®ister_resources_once, register_resources, NULL); } - -int -pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) -{ - int i, count; - - count = 0; - for (i = 0; i < glyphs->num_glyphs; i++) - { - PangoGlyphInfo *gi = &glyphs->glyphs[i]; - if (gi->glyph != PANGO_GLYPH_EMPTY) - { - if (!(gi->glyph & PANGO_GLYPH_UNKNOWN_FLAG)) - count++; - } - } - - return count; -} - diff --git a/gsk/gskprivate.h b/gsk/gskprivate.h index 77c0fe2bf6..a8b92b4b18 100644 --- a/gsk/gskprivate.h +++ b/gsk/gskprivate.h @@ -8,8 +8,6 @@ G_BEGIN_DECLS void gsk_ensure_resources (void); -int pango_glyph_string_num_glyphs (PangoGlyphString *glyphs) G_GNUC_PURE; - typedef struct _GskVulkanRender GskVulkanRender; typedef struct _GskVulkanRenderPass GskVulkanRenderPass;